<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<title>Kioskcar - Login</title>
	<h:outputStylesheet library="css" name="StyleSheet.css" />
</h:head>
<h:body>
<h:form>
	<div class="header">
		<h:graphicImage value="/resources/img/kioskcarpngbranco.png" style="height:40px;float:left;"/>
		<h:outputText value="Kioskcar" styleClass="txtheader" />
	</div>
	<div class="logologin">
		<h:graphicImage value="/resources/img/kioskcar2.png"/>
	</div>
	<div class="panellogin" align="center">
		<h:panelGrid columns="2" style="border:10px" cellpadding="10">
			<h:outputText value="Login" styleClass="txtlogin"/>
				<h:inputText value="#{beanLogin.login}">
				</h:inputText>
			<h:outputText value="Senha" styleClass="txtlogin"/>
				<h:inputSecret value="#{beanLogin.senha}" id="txtsenha">
				</h:inputSecret>
		</h:panelGrid>
			<h:commandButton value="OK" styleClass="btnLogin" actionListener="#{beanLogin.validaLogin}" />
			
			<p:message display="icon" for="txtsenha" id="msgerror"></p:message>
	</div>
</h:form>
</h:body>
</html>